<?php

namespace app\api\controller;
use think\Controller;
use think\Db;

class Send extends Controller
{
	
	public function index()
	{

		if(!input('phone')){
			exit(json_encode(['status'=>10001,'msg'=>'手机号必传']));

		}

		if(!input('code')){
			exit(json_encode(['status'=>10001,'msg'=>'手机号必传']));

		}

		// todo：：帮忙下发短信

		exit(json_encode(['status'=>0,'msg'=>'ok']));
	}
}